package com.aven.blog.dao;

import com.aven.blog.bean.User;

import java.util.List;


public interface IUserDao {
    //查找用户是否存在
    public User findByUsername(String name);

    //查找多个用户
    public List<User> findByUsernameForResults(String name);

    //添加用户
    public int addUser(User user);
}
